package org.example.back.mapper.plan;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import org.example.back.entity.plan.WeightLossPlan;

import java.time.LocalDate;
@Mapper
public interface WeightLossPlanMapper {
    int insertPlan(WeightLossPlan plan);
    WeightLossPlan selectByUserIdAndStartDate(@Param("userId") Integer userId,
                                             @Param("startDate") LocalDate startDate);
}
